﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace RemoteDesktopClient
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IViewer" in both code and config file together.
    [ServiceContract]
    public interface IViewer
    {
        [OperationContract]
        void PushScreenUpdate(byte[] data);

        [OperationContract]
        string Ping();

        [OperationContract]
        void UploadFile(string fPath, byte[] data);

        [OperationContract]
        byte[] DownloadFile(string fPath);

    }
}
